//
//  OrderForm_ ClearEfficacy_Hv.swift
//  MikerShop
//
//  Created by eme on 2016/12/20.
//  Copyright © 2016年 eme. All rights reserved.
//

/*
 owner:cy
 update:2016年12月19日18:56:04
 info: 进货单cell 公司
 VC :  OrderForm_Vc
 */
import UIKit
import Kingfisher
import RxSwift
import RickonCore

class OrderForm_ClearEfficacy_Hv: UITableViewCell {
    
    
    @IBOutlet weak var seperateLine_V: UIView!
    @IBOutlet weak var clear_Btn: UIButton!
    
    var didClear_Closure:((Void) ->Void)?
    private let disposeBag = DisposeBag()

    override func awakeFromNib() {

        self.seperateLine_V.backgroundColor = Theme.v.separate_Line
        self.clear_Btn.changeBorderColor(Theme.arya.orderForm.addCarChange_Border, cornerRadius: 1.0)
        self.clear_Btn
            .rx.tap
            .subscribe(onNext: { [unowned self] ( _ ) in
                if let didClear_Closure = self.didClear_Closure{
                    didClear_Closure()
                }
            })
            .disposed(by: disposeBag)
    }
}
